package com.ge.boot04ssm.mapper;

import com.ge.boot04ssm.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @BelongsProject: SpringBoot
 * @BelongsPackage: com.ge.boot04ssm.mapper
 * @Author: gejingyu
 * @Date: 2024/2/2
 * @Description:
 */

public interface UserMapper {

    /**
     * 按照id查询用户
     * @param id 目标用户id
     * @return 用户对象
     */
    User getUserById(@Param("id") Long id);
}
